<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="http://qzonestyle.gtimg.cn/qzone/app/qzlike/qzopensl.js#jsdate=20111201" charset="utf-8"></script>
		<script type="text/javascript" src="js/share.js" ></script>
	</head>
	<body>
		<h1>这里是一些我所收集的插件列表</h1>
		<a href="page/testShareQzone.html">QQ分享</a>
	</body>
	<script type="text/javascript">
		var shareQzoneData = {
			url:"http://www.23cube.com/",
			showcount: false,
			describe:"比你更了解你 触手可及的基因检测",
			summary:"基因检测",
			title:"基因检测服务",
			site:"23魔方",
			pics:"https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=2837697640,2771859310&amp;fm=58"
		}
		
		var shareQzoneFriendData = {
			url:"http://www.23cube.com/",
			showcount: false,
			describe:"比你更了解你 触手可及的基因检测",
			summary:"基因检测",
			title:"基因检测服务",
			site:"23魔方",
			pics:"https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=2837697640,2771859310&amp;fm=58"
		}
		var shareQzone = $(".shareQzone .content").get(0);
		console.log(shareQzone.outerHTML);
		share.shareQzone(shareQzone, shareQzoneData);
		var shareQzoneFriend = $(".shareQzoneFriend .content").get(0);
		console.log(shareQzoneFriend.outerHTML);
		share.shareQzoneFriend(shareQzoneFriend, shareQzoneFriendData);
		
	</script>
	
<!--	<script type="text/javascript">
		(function(){
		var p = {
		url:location.href,
		showcount:'1',/*是否显示分享总数,显示：'1'，不显示：'0' */
		desc:'',/*默认分享理由(可选)*/
		summary:'',/*分享摘要(可选)*/
		title:'',/*分享标题(可选)*/
		site:'',/*分享来源 如：腾讯网(可选)*/
		pics:'', /*分享图片的路径(可选)*/
		style:'101',
		width:199,
		height:30
		};
		var s = [];
		for(var i in p){
		s.push(i + '=' + encodeURIComponent(p[i]||''));
		}
		var shareQzone = $(".shareQzone").get(0);
		shareQzone.innerHTML = ['<a version="1.0" class="qzOpenerDiv" href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?',s.join('&'),'" target="_blank">分享</a>'].join('');
		})();
	</script>-->
</html>
